import * as utils from './index';

const install = function(Vue) {
  Vue.directive('utils', utils);
};

if (window.Vue) {
  window['utils'] = utils;
  Vue.use(install); // eslint-disable-line
}

utils.install = install;
export default utils;
